package com.feiji.manager.usermanager.config;

import com.feiji.manager.usermanager.utils.BCryptPasswordEncoder;
import com.feiji.manager.usermanager.utils.PasswordEncoder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration(proxyBeanMethods = false)
public class Myconfig {
    @Bean
    public PasswordEncoder passwordEncoder(){
        return new BCryptPasswordEncoder();
    }
}
